package com.wxmp.wxcms.ctrl;

import com.wxmp.wxapi.process.WxMemoryCacheClient;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
@RequestMapping("cmd")
public class CMDCtrl {

    @RequestMapping("clean-mpaccount")
    @ResponseBody
    public String cleanMpAccountMapCach(){
     //mpAccountMap
        String key = "mpAccountMap";
        WxMemoryCacheClient.cleanCach(key);
        return "success";
    }
}
